﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="WebForms.Test" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="gv" runat="server"
        ondatabinding="gv_DataBinding" ondatabound="gv_DataBound" 
        AutoGenerateColumns="False" onselectedindexchanged="gv_SelectedIndexChanged">
        <Columns>
            <asp:BoundField HtmlEncode="false" DataField="Values" />
            <asp:TemplateField HeaderText="Save">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>



    <br />
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    <br />


    <asp:Repeater runat="server" ID="re">
        <ItemTemplate>
            First level
            <asp:Repeater ID="someId" runat="server" DataSource='<%# Eval("Source") %>'>
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                Citizen Id
                            </td>
                            <td><%# XPath("CitizenID") %></td>
                        </tr>
                        <tr>
                            <td>
                                Log Open data
                            </td>
                            <td>
                                <%# XPath("LogOpenDate") %>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                SaturationLevel
                            </td>
                            <td>
                                <%# XPath(@"VitalSigns/Signs/Oximeter/SaturationLevel")%>
                            </td>
                        </tr>
                    </table>
                    
                    

                    
                </ItemTemplate>
            </asp:Repeater>
        </ItemTemplate>
    </asp:Repeater>
    <%--<asp:Repeater runat="server" ID="reTest">
        <ItemTemplate>
            
            <%# Eval("ECGValues") %>    
        </ItemTemplate>
    </asp:Repeater>--%>
</asp:Content>
